﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed

#pragma once
#include "GcmpGuiMainFrameInterface.h"
#include "IObject.h"


namespace gcmp
{

class IApplicationWindowEventArgs;

/// \brief 主窗口事件处理者接口。
class GCMP_GUI_MAIN_FRAME_INTERFACE_EXPORT IApplicationWindowEventHandler : public IObject
{
    DEFINE_CAST_DERIVED(gcmp::IApplicationWindowEventHandler, gcmp::IObject)

public:
    /// \brief 事件处理方法。
    ///
    /// \param  pArgs 主窗口事件参数对象指针。
    virtual void On(IApplicationWindowEventArgs* pArgs) = 0;
};

}

